package com.tedu.egmybatis2.mapper;

import com.tedu.egmybatis2.pojo.CustomerVO1;
import com.tedu.egmybatis2.pojo.CustomerVO2;
import com.tedu.egmybatis2.pojo.Customers;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CustomersMapper {

    int insertCustomers(Customers customers);

    CustomerVO1 selectCustomerVO1ById(String custId);

    List<CustomerVO2> selectCustomerVO2ByCity(String city);
}
